<template>
  <el-row>
    <el-col :span="12">
      <el-form-item :label="$t('投资形式')" prop="investmentType">
        <dict-select
          v-model="propertyForm.investmentType"
          dictionary="deal_investment_type"
          :placeholder="$t('投资形式')"
        />
      </el-form-item>
    </el-col>
    <el-col :span="12">
      <el-form-item :label="$t('投资用途')" prop="investmentPurpose">
        <dict-select
          v-model="propertyForm.investmentPurpose"
          dictionary="deal_investment_purpose"
          :placeholder="$t('投资用途')"
        />
      </el-form-item>
    </el-col>
    <el-col :span="24">
      <el-form-item :label="$t('预计收益率(%)')" prop="expectedRate">
        <el-input-number v-model="propertyForm.expectedRate" :placeholder="$t('预计收益率(%)')" show-word-limit />
      </el-form-item>
    </el-col>
    <el-col :span="24">
      <el-form-item :label="$t('运营模式')" prop="operationMode">
        <el-input v-model="propertyForm.operationMode" type="textarea" :placeholder="$t('运营模式')" show-word-limit :maxlength="2000" />
      </el-form-item>
    </el-col>
  </el-row>
</template>

<script>
export default {
  name: 'DealBasePropertyForm',
  props: {
    propertyForm: {
      type: Object,
      default: () => {
        return {
          investmentType: undefined,
          investmentPurpose: undefined,
          expectedRate: undefined,
          operationMode: undefined
        }
      }
    }
  }
}
</script>

<style scoped>

</style>
